package com.aipp.mall.wechat;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author cc
 */
@Data
@ConfigurationProperties(prefix = "wechat")
@Configuration
public class WechatPayData {


    public  boolean enabled;
    /**
     * 商户号
     */
    public  String appId;
    public  String secret;
    public  String merchantId;
    /**
     * 商户API私钥路径
     */
    public  String privateKeyPath;
    /**
     * 商户证书序列号
     */
    public  String merchantSerialNumber;
    /**
     * 商户APIV3密钥
     */
    public  String apiV3key;
    public  String notifyUrl;

    public  String miniProgramAppId;
    public  String miniProgramSecret;
}
